package com.evildog.workspace.system.application.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 角色与用户组关联表
 * </p>
 *
 * @author evildog
 * @since 2020-07-25
 */
@Data
@Accessors(chain = true)
@TableName("sys_role_user_group_link")
public class RoleUserGroupLink implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 账户组id
     */
    private Long userGroupId;

}
